#ifndef __STATICDATA_ITEMINFO_H__
#define __STATICDATA_ITEMINFO_H__

#include "DataInfoManagerTemplate.h"

class CItemInfo
{
public:
	int nItemType;
	//char szItemName[64];
	std::string strItemName;
	int nCount;

	void Read(IFileVisitorIterator& rEV);
	int GetID(){return nItemType;}
	void Update(CItemInfo & rItemInfo);
	void Serialize(ISerializer & rSerializer);
};

typedef CDataInfoManagerTemplate< CItemInfo > CItemInfoManager;

DEF_MANAGER_INTERFACE(ItemInfo, CItemInfo, CItemInfoManager)

#endif //__STATICDATA_ITEMINFO_H__